←Select platform

ReadBarcodes(RasterImage,LeadRect,Int32,BarcodeSymbology[],IBarcodeReadOptions[]) Method

Summary

For information about this method please see ReadBarcodes.

Syntax

C#
VB
WinRT C#
C++
Public Overloads Function ReadBarcodes( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal searchBounds As Leadtools.LeadRect, _ 
   ByVal maximumBarcodes As Integer, _ 
   ByVal symbologies() As Leadtools.Barcode.BarcodeSymbology, _ 
   ByVal options() As Leadtools.Barcode.IBarcodeReadOptions _ 
) As Leadtools.Barcode.BarcodeData() 
 function Leadtools.Barcode.BarcodeReader.ReadBarcodes(RasterImage,LeadRect,Int32,BarcodeSymbology[],IBarcodeReadOptions[])(  
   image , 
   searchBounds , 
   maximumBarcodes , 
   symbologies , 
   options  
) 

Parameters

image
A RasterImage object that contains the image data. Must not be null.

searchBounds
A LeadRect that specifies the region of interest area in the image where the barcodes search and detection is performed. You can specify empty rectangle to indicate that the search must be performed on the whole image.

maximumBarcodes
An Int32 that specifies the maximum number of barcodes to return. Must be a value greater than or equal to 0. The value of 0 means all barcodes.

symbologies
An array of BarcodeSymbology enumeration members that specifies the barcode symbologies (types) to search for.

options
An array of IBarcodeReadOptions that specifies the options to use. This can be null, where the current default options is used. Otherwise, the method will use the options that corresponds to the symbologies being read, if the array does not contain specific options for a symbologies being read, then the default version will be used.

Return Value

An array of BarcodeData objects that contains the symbology, data, location and any rotation angle for each barcode found. If no barcodes can be found, then this method will return an empty array (Length equals to 0).

Remarks

Note: In LEADTOOLS for .NET, the equivalent to LeadRect is LogicalRectangle and the equivalent to IBarcodeReadOptions is BarcodeReadOptions.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly